package com.sc.nft.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.EcologyHatchShareProfitSeparateAccountTypeEnum;
import com.sc.nft.enums.EcologyHatchShareProfitTypeEnum;
import com.sc.nft.sup.SuperEntity;

import java.math.BigDecimal;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 生态藏品分润配置(sc_ecology_hatch_collecion_share_profit_conf)实体类
 *
 * @author Sun
 * @description 由 Mybatisplus Code Generator 创建
 * @since 2023-12-06 18:46:15
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_ecology_hatch_collecion_share_profit_conf")
public class EcologyHatchCollecionShareProfitConf extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 生态配置id
     */
    private Long confId;

    /**
     * 藏品id
     */
    private Long collectionId;

    /**
     * 类型: 1:分享收益 2:平台分红池 3:DAO分红池 4:风控池 5:技术服务费 6:双方分账 7:市值管理 8:每份分红池(平台分红池 + Dao分红池)
     */
    private EcologyHatchShareProfitTypeEnum type;

    /**
     * 双方分账类型
     */
    private EcologyHatchShareProfitSeparateAccountTypeEnum separateAccountType;

    /**
     * 类型名称
     */
    private String typeName;

    /**
     * 品牌DAOId
     */
    private Long daoId;

    /**
     * 平台DaoId
     */
    private Long platformDaoId;

    /**
     * 服务中心DaoId
     */
    private Long serviceCenterDaoId;

    /**
     * 总分配比例
     */
    private BigDecimal distributionScale;

    /**
     * 平台分成比例
     */
    private BigDecimal platformDivideScale;

    /**
     * 品牌分成比例
     */
    private BigDecimal daoDivideIntoScale;

    /**
     * 品牌拉新人数
     */
    private Integer daoNewUserNum;

    /**
     * 服务中心拉新人数
     */
    private Integer serviceCenterNewUserNum;

    /**
     * 共振品牌分成比例
     */
    private BigDecimal resonanceDaoDivideIntoScale;

    /**
     * 共振服务中心dao分成比例
     */
    private BigDecimal resonanceServiceCenterDaoDivideIntoScale;
}